// MsgQueue.h: interface for the CMsgQueue class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MSGQUEUE_H__8CAC09BF_0470_4C77_9FDE_CDB69A74108F__INCLUDED_)
#define AFX_MSGQUEUE_H__8CAC09BF_0470_4C77_9FDE_CDB69A74108F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMsgQueue  
{
public:
	CMsgQueue();
	virtual ~CMsgQueue();
public:
	CString Pop();
	void    Push(CString sMsg);
	BOOL    IsEmpty();
	int     GetCount();
	BOOL    Clear();
public:
	CStringList m_MsgList;
	CCriticalSection m_CriticalSection;

};

#endif // !defined(AFX_MSGQUEUE_H__8CAC09BF_0470_4C77_9FDE_CDB69A74108F__INCLUDED_)
